import Vue from 'vue';
import VueRouter from 'vue-router';
import Admin from '@/views/Admin.vue';

Vue.use(VueRouter);

const routes = [
  {
    path: '/admin',
    name: 'Admin',
    component: Admin,
  },
  {
    path: '/client',
    name: 'Client',
    component: () => import(/* webpackChunkName: "invite" */ '../views/Client.vue'),
  },
];

const router = new VueRouter({
  routes,
});

export default router;
